Add support Xiaomi Mi Air Purifier A1 (MJXFJ-150-A1) Model: dmaker.airfresh.a1
Temporary solution till official Home Assistant and python-miio support
Can be installed via HACS.
Just add this repository.
Availiable Attributes:
- power
- pm25
- co2
- temperature_outside
- favourite_speed
- filter_rate
- filter_day
- control_speed
- ptc_on
- ptc_status
- child_lock
- sound
- display
- mode
Availiable Services:
- fan.turn_on / fan.turn_off
- fan.set_speed (speed: [off | auto | sleep | favourite])
- fan.airfresh_set_ptc_on / fan.airfresh_set_ptc_off
- fan.airfresh_set_sound_on / fan.airfresh_set_sound_off
- fan.airfresh_set_display_on / fan.airfresh_set_display_off
- fan.airfresh_set_filter_reset
- fan.airfresh_set_favourite_speed (speed: 1-200)
fan:
- platform: xiaomi_airfresh
host: 192.168.1.44
token: "cbnflp9iacbs2d9ho6p3d9z7ghrebqpo"
name: Air Fresh
model: dmaker.airfresh.a1