Skip to content

Commit

Permalink
Update sensor-module.md (#3430)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessamyT authored Sep 10, 2024
1 parent aff0c37 commit 0a3295d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/how-tos/sensor-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,10 @@ class meteo_PM(Sensor, Reconfigurable):
attrs = struct_to_dict(config.attributes)

self.latitude = float(attrs.get("latitude", 45))
LOGGER.debug("Using latitude: " + self.latitude)
LOGGER.debug("Using latitude: " + str(self.latitude))

self.longitude = float(attrs.get("longitude", -121))
LOGGER.debug("Using longitude: " + self.longitude)
LOGGER.debug("Using longitude: " + str(self.longitude))

return

Expand Down

0 comments on commit 0a3295d

Please sign in to comment.