SnmpSensor: Fix async_update (#16679) (#16716)

Bugfix provided by awarecan.
This commit is contained in:
Andreas Oberritter authored and Paulus Schoutsen committed 2018-09-20 11:32:14 +02:00
1 parent 366e270e94
commit 8379567636
1 file changed
+1 -1
+1 -1
View File
@@ -182,7 +182,7 @@ class SnmpSensor(Entity):
if value is None:
value = STATE_UNKNOWN
elif self._value_template is not None:
value = self._value_template.render_with_possible_json_value(
value = self._value_template.async_render_with_possible_json_value(
value, STATE_UNKNOWN)
self._state = value