Skip to content

Commit

Permalink
Merge pull request #122 from rhuba8324/patch-1
Browse files Browse the repository at this point in the history
140 Angle dmaker.fan.p5
  • Loading branch information
ikaruswill authored May 29, 2023
2 parents e0a3977 + 2ced1dd commit 7183a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xiaomi-fan-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export class FanXiaomiCard extends LitElement {
const state = this.hass.states[this.config.entity];
const attrs = state.attributes;

if (["dmaker.fan.p15", "dmaker.fan.p18", "dmaker.fan.p33"].includes(attrs["model"])) {
if (["dmaker.fan.p5", "dmaker.fan.p15", "dmaker.fan.p18", "dmaker.fan.p33"].includes(attrs["model"])) {
this.supportedAttributes.supportedAngles = [30, 60, 90, 120, 140];
//this.supportedAttributes.led = true;
}
Expand Down

0 comments on commit 7183a40

Please sign in to comment.