Fix a bunch of typos (#9545)
s/Addres /Address / s/Chnage/Change/ s/Converion/Conversion/ s/Supressing/Suppressing/ s/agains /against / s/allready/already/ s/analagous/analogous/ s/aquired/acquired/ s/arbitray/arbitrary/ s/argment/argument/ s/aroung/around/ s/attibute/attribute/ s/auxillary/auxiliary/ s/befor /before / s/commmand/command/ s/conatin/contain/ s/conection/connection/ s/coresponding/corresponding/ s/entites/entities/ s/enviroment/environment/ s/everyhing/everything/ s/expected expected/expected/ s/explicity/explicitly/ s/formated/formatted/ s/incomming/incoming/ s/informations/information/ s/inital/initial/ s/inteface/interface/ s/interupt/interrupt/ s/mimick/mimic/ s/mulitple/multiple/ s/multible/multiple/ s/occured/occurred/ s/occuring/occurring/ s/overrided/overridden/ s/overriden/overridden/ s/platfrom/platform/ s/positon/position/ s/progess/progress/ s/recieved/received/ s/reciever/receiver/ s/recieving/receiving/ s/reponse/response/ s/representaion/representation/ s/resgister/register/ s/retrive/retrieve/ s/reuqests/requests/ s/segements/segments/ s/seperated/separated/ s/sheduled/scheduled/ s/succesfully/successfully/ s/suppport/support/ s/targetting/targeting/ s/thats/that's/ s/the the/the/ s/unkown/unknown/ s/verison/version/ s/while loggin out/while logging out/
This commit is contained in:
1 parent
3704a18da5
commit
08b0629eca
82 files changed
+134
-133
No files matched your search
@@ -155,7 +155,7 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||
stop_listerer()
|
||||
|
||||
# reflect disconnect state in devices state by setting an
|
||||
# empty telegram resulting in `unkown` states
|
||||
# empty telegram resulting in `unknown` states
|
||||
update_entities_telegram({})
|
||||
|
||||
# throttle reconnect attempts
|
||||
@@ -181,7 +181,7 @@ class DSMREntity(Entity):
|
||||
if self._obis not in self.telegram:
|
||||
return None
|
||||
|
||||
# get the attibute value if the object has it
|
||||
# get the attribute value if the object has it
|
||||
dsmr_object = self.telegram[self._obis]
|
||||
return getattr(dsmr_object, attribute, None)
|
||||
|
||||
|
||||
Reference in new issue
Block a user