Missing influxdb data for a history_stats sensor

I have Logitech Harmony remote which provides on/off status and I have history_stats sensor based on that as shown below:

  - platform: history_stats
    name: tv_usage_living
    entity_id: remote.livingroom
    state: 'on'
    type: time
    start: '{{ now().replace(hour=0, minute=0, second=0, microsecond=0) }}'
    end: '{{ now() }}'


I don’t see sensor.tv_usage_living getting stored in infludb but I see it in recorder (postgresql).
Also I see remote.livingroom is in influxdb. I don’t have any exclusion set for recorder or influxdb.
Any help?