Whiterat

Results 38 comments of Whiterat

Sadly it doesn't follow it's own published miot spec 🤦 But we've worked out all the available miio methods and format now. See: https://github.com/al-one/hass-xiaomi-miot/issues/220

https://github.com/rytilahti/python-miio/pull/1210

Here's the plugin - it'll be easier for you to see than me posting snippets. [signed_10055_1000144_136_ANDROID_bundle_85c04f48e853b096ac0f10ced3ae9bae.zip](https://github.com/al-one/hass-xiaomi-miot/files/7805354/signed_10055_1000144_136_ANDROID_bundle_85c04f48e853b096ac0f10ced3ae9bae.zip) or [signed_10062_1000144_143_IOS_bundle_27f0377f59be7947a0599a6b5479b2fd.zip](https://github.com/al-one/hass-xiaomi-miot/files/7805369/signed_10062_1000144_143_IOS_bundle_27f0377f59be7947a0599a6b5479b2fd.zip)

Excellent stuff 🐱 Thank you 👏 Modified a little: ```yaml miio_event_feedStats_template: | {%- set dat = namespace(today=0,week=0,month=0) %} {%- set tim = now() %} {%- set hour = tim.replace(minute=0, second=0)...

`exclude_state_attributes` stops it polling at least 👍 Great, thanks for info on ```_attributes``` - works well! Not having any luck with ```entity_attrs``` though 😢 (I can't see any difference with/without)...

It's an issue parsing ```miio_event_feedStats_template``` through customize. Adding directly to ```device_customizes.py``` and ```templates.py``` works fine: ```python 'mmgg.feeder.petfeeder': { 'sensor_attributes': 'clean_days,dryer_days,event.feedStats:fed_today,event.feedStats:fed_week,' 'event.feedStats:fed_month', 'binary_sensor_attributes': 'feed_plan,wifi_led,key_lock,outlet_status,door_result', 'miio_cloud_records': 'event.feedStats:500', 'miio_event_feedStats_template': 'mmgg_feeder_petfeeder_feedstats', 'miio_commands': { 'getprops':...

@1trackprojects1 I wish I had never published that incapsula gist... As I've said to others of your ilk, No. I will not help you with you spam bots. ![image](https://user-images.githubusercontent.com/1288525/148103541-34d26642-8e8b-4a9c-b722-93acbb0a510d.png)

Thanks @al-one It's a good point with regard to the root sensor, @al-one is there anyway to override which attribute is used for state? This goes back to my comment...

As a total of dispensed food ever yes it would suit, not daily/weekly/monthly.

Oh I missed that comment in the noise, my apologies. Now _that_ is a **cool** idea. I _really_ like this approach. I will definitely look into it 😺 Will the...