I set up my Mi Floras to connect via ESP32 to MQTT to Home Assistant using this code
https://github.com/sidddy/flora I’m trying to set up Plant Status Cards in my Overview area, but it’s not happy with the plant id I’m providing (Entity not available). How do you find the correct “Entity id of plant domain” for the Plant Status Card? https://www.home-assistant.io/lovelace/plant-status/
Plant Status Example:
type: plant-status
entity: plant.bonsai
(string)(Required)Entity id of plant domain
I’ve tried:
- type: plant-status
entity: 1-ChristmasCactus-hatioragaertneri_plant
- type: plant-status
entity: plant.1-ChristmasCactus-hatioragaertneri_plant
- type: plant-status
entity: plant_1.1-ChristmasCactus-hatioragaertneri
- type: plant-status
entity: plant1.1-ChristmasCactus-hatioragaertneri
- type: plant-status
entity: 1-ChristmasCactus-hatioragaertneri
- type: plant-status
entity: plant 1.1-ChristmasCactus-hatioragaertneri
- type: plant-status
entity: plant.plant_1
- type: plant-status
entity: plant.plant 1
What I have:
**/config/configuration.yaml**
sensor 1:
- platform: miflora
mac: 'C4:7C:8D:66:DD:4D'
name: '1-ChristmasCactus-hatioragaertneri'
force_update: false
median: 3
monitored_conditions:
- moisture
- light
- temperature
- conductivity
- battery
**/config/miflora.yaml**
sensor 1:
- platform: mqtt
state_topic: "flora/C4:7C:8D:66:DD:4D/temperature"
name: "1-ChristmasCactus-hatioragaertneri Temperature"
unit_of_measurement: "°C"
- platform: mqtt
state_topic: "flora/C4:7C:8D:66:DD:4D/moisture"
name: "1-ChristmasCactus-hatioragaertneri Moisture"
unit_of_measurement: "%"
- platform: mqtt
state_topic: "flora/C4:7C:8D:66:DD:4D/light"
name: "1-ChristmasCactus-hatioragaertneri Brightness"
unit_of_measurement: "lux"
- platform: mqtt
state_topic: "flora/C4:7C:8D:66:DD:4D/conductivity"
name: "1-ChristmasCactus-hatioragaertneri Conductivity"
unit_of_measurement: "uS/cm"
- platform: mqtt
state_topic: "flora/C4:7C:8D:66:DD:4D/battery"
name: "1-ChristmasCactus-hatioragaertneri Sensor Battery"
unit_of_measurement: "%"
Plant 1:
1-ChristmasCactus-hatioragaertneri_plant:
sensors:
moisture: sensor.1-ChristmasCactus-hatioragaertneri_moisture
battery: sensor.1-ChristmasCactus-hatioragaertneri_sensor_battery
temperature: sensor.1-ChristmasCactus-hatioragaertneri_temperature
conductivity: sensor.1-ChristmasCactus-hatioragaertneri_conductivity
brightness: sensor.1-ChristmasCactus-hatioragaertneri_brightness
min_moisture: 15
max_moisture: 60
min_conductivity: 300
max_conductivity: 2000
min_temperature: 10
max_temperature: 32
min_brightness: 1200
max_brightness: 30000
min_battery: 10